package com.sc.nft.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.sc.nft.enums.SecondWantBuyOrderTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author 刘国航
 * @desc
 * @since 2024/12/21 9:39
 */
@Data
public class WantBuyOrderQueryHoldVO implements Serializable {

    private static final long serialVersionUID = 8152529997050577891L;

    @ApiModelProperty("求购单类型")
    private SecondWantBuyOrderTypeEnum orderType;

    @ApiModelProperty("用户藏品id/用户道具id")
    private Long userRelationId;

    @ApiModelProperty("买入价")
    private BigDecimal buyPrice;

    @ApiModelProperty("编号")
    private String numbering;

    @ApiModelProperty("是否长期有效")
    private Boolean isLongTerm;

    @ApiModelProperty("过期时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date expiredTime;

}
